//
//  NewTaskFooter.h
//  RRQS
//
//  Created by kyjun on 16/3/24.
//
//

#import <UIKit/UIKit.h>
#import "MOrder.h"
#import "WJWaiMaiDodel.h"

@protocol NewTaskFooterDelegate <NSObject>

@optional
- (void)NewTaskGrabOne:(MOrder*)item;

- (void)NewTaskPaoTui:(WJWaiMaiDodelHList*)wMaiDodelHList; // 跑腿
- (void)NewTaskWaiMai:(WJWaiMaiDodelList*)wMaiDodelList; // 外卖
@end

@interface NewTaskFooter : UICollectionReusableView
@property(nonatomic,strong) MOrder* entity;
@property(nonatomic,weak) id<NewTaskFooterDelegate> delegate;
@property(nonatomic,strong) WJWaiMaiDodelHList *waiMaiDodelHList;
@property(nonatomic,strong) WJWaiMaiDodelList *waiMaiDodelList;

@property (nonatomic, assign) BOOL isWaimOrPaot;// YES跑腿       NO 外卖
@end
